﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace MikeSoft.IM.Server
{
    public class Users
    {
        private string userName;
        private IPEndPoint userIDEndPoint;

        public Users(string name, IPEndPoint ipEndPoint)
        {
            name = userName;
            userIDEndPoint = ipEndPoint;
        }
        public string GetName()
        {
            return userName;
        }
        public IPEndPoint GetIPEndPoint()
        {
            return userIDEndPoint;
        }
    }
}
